package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.CheckGroup;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;


/**
 * @PackageName: com.itheima.dao
 * @ClassName: SetmealDao
 * @Author: WangZhe
 * @Date: 2019/12/23 19:11
 * @Description: //TODO
 */

public interface SetmealDao {
    public void add(Setmeal setmeal);
    public void setSetmealAndCheckGroup(Map map);
    public Page<Setmeal> findByCondition(String queryString);
    public Setmeal findById(Integer id);
    public List<Integer> findCheckGroupIdsBySetmealId(Integer id);
    public void edit(Setmeal setmeal);
    public void deleteAssocication(Integer id);
    public void deleteById(Integer id);



    public Setmeal findId(Integer id);
    public List<Setmeal> findAll();


    public List<Map<String,Object>> findSetmealCount();
}
